﻿@model zichan.Models.ServerSubPurposeModel
@{
    ViewBag.Title = "part_serverSubPurpose";
}
@*<script src="~/Scripts/jquery-2.1.4.min.js"></script>*@
<script src="~/Scripts/AssetJs.js"></script>

<label class="col-md-3 control-label"><span style="color:red;">*</span>详细用途类别:</label>
    <div class="col-md-9">
        @*@Html.DropDownList("serverPurposeSubId", (SelectList)ViewBag.serverPurposeSubIds, "请选择用途类别", new { @class = "form-control input-large" })*@
       <select name="serverPurposeSubId" id="serverPurposeSubId" placeholder = "请选择用途类别" class="form-control input-large select2">
           @foreach(var s in ViewBag.serverPurposeSubIds)
           {
               <option value="@(s.Value=="0"?null:s.Value)">@s.Text</option>
           }
       </select>
        <span class="help-block">
            @Html.ValidationMessageFor(o => o.serverPurposeSubId)
        </span>
    </div>
@*<div class="col-md-9 " id="property" style="display:none">
    <label class="col-md-3 control-label xh">资产标识:</label>
    <div class="col-md-9">
        <select name="Property" id="Property" class="form-control select2 input-large">
            @foreach (var s in ViewBag.Propertys)
            {
                <option value="@s.Value">@s.Text</option>
            }
        </select>
    </div>
</div>
<div class="col-md-9 " id="Tproperty" style="display:none">
    <label class="col-md-3 control-label xh">资产标识:</label>
    <div class="col-md-9">
        <select name="TProperty" id="TProperty" class="form-control select2 input-large">
            @foreach (var s in ViewBag.TPropertys)
            {
                <option value="@s.Value">@s.Text</option>
            }
        </select>
    </div>
</div>*@


@*@Scripts.Render("~/bundles/jqueryval")*@
    
